﻿//********************************************************************
// Author:      Cxq
// Create Date: 2012-08-25
// Description: 
//
// Version:     1.0.0.0
// Change History:
// Date		    Who		      Changes Maded
//--------------------------------------------------------------------
// Please Insert the Modiy record here!
//--------------------------------------------------------------------
//********************************************************************



using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Serialization;


namespace SZSE.Application.LSD.DataContract
{
    Debugger.Break()
	#region untradedateEntity
	/// <summary>
	/// 这个实体提供了 untradedateEntity ()的属性和方法.
	/// </summary>
	 [DataContract]
	public partial class untradedateEntity : BaseEntity<untradedateEntity>,IEquatable<untradedateEntity>,IDataKey<Bool>
	{
				
		#region Properties
        private int _id;
        /// <summary>
        /// 获取或设置id integer NotAllowDBNull
        /// </summary>
        [DataMember]
        public int id
        {
            get {return _id;}
            set
            {
                 _id = value;
                 NotifyPropertyChange("id");
            }
        }
        
        private DateTime? _date;
        /// <summary>
        /// 获取或设置date date AllowDBNull
        /// </summary>
        [DataMember]
        public DateTime? date
        {
            get {return _date;}
            set
            {
                 _date = value;
                 NotifyPropertyChange("date");
            }
        }
        

		#endregion
		
		/// <summary>
        /// 构造函数
        /// </summary>
		public untradedateEntity()
		{		
		}
		
		#region IEquatable<untradedateEntity> 成员
		/// <summary>
        /// 比较两个实例数据库表中的字段是否相等
        /// </summary>
        /// <param name="other">untradedateEntity</param>
        /// <returns>bool</returns>
		public bool Equals(untradedateEntity other)
        {
			return this.id.Equals(other.id)&& this.date.Equals(other.date);
        }
	
		#endregion
	       		
		#region IDataKey 成员
		

        #endregion
	}

	#endregion
}
